﻿using EraNet.Core.Model.Account;
using System.Data.Entity.ModelConfiguration;

namespace EraNet.Data.Mapping.Account
{
    public partial class AdminGroupPowerMap : EntityTypeConfiguration<AdminGroupPower>
    {
        public AdminGroupPowerMap()
        {
            this.ToTable("Era_AdminGroupPower");
            this.HasKey(a => a.Id);
            this.Property(a => a.PowerNames).IsRequired();
            this.Property(a => a.PowerKeys).IsRequired();
        }
    }
}
